#ifndef __MBANGLE_HH
#define __MBANGLE_HH

#include <iostream>
#include <fstream>
#include <string>

#include "TSystem.h"
#include "TEnv.h"

using namespace std;

class MBangle {
public:
	MBangle();
	MBangle(const char*);
	~MBangle();

	void ReadMBangle();
	void PrintMBangle();
	void SetFile(const char* filename){
		fInputFile = filename;
	}
	const string Inputfile(){
		return fInputFile;
	}

	double Theta(int module, int cluster, int segment){
		return MBTheta[module][cluster][segment];
	}

protected:

	string fInputFile;
	double MBTheta[8][3][6];
};

#endif
